package com.zzj.ecology.framework.configuration;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @ClassName ApplicationConfig
 * @Description TODO
 * @Author zhijun zeng at 23:23 2020/4/18
 * @Version 1.0
 **/

/**
 * 多个包
 * @MapperScan(value = "com.fapd.workman.*.mapper")
 * @MapperScan(value = {"com.fapd.workman.workgroup.mapper","com.fapd.workman.other.mapper"})
 */
@MapperScan(value = "com.zzj.ecology.system.mapper")
@Configuration
@EnableAspectJAutoProxy(exposeProxy=true) //表示使用cglib进行代理对象的生成,通过aop框架暴露该代理对象，aopContext能够访问
public class ApplicationConfig {

}
